package com.artron.mediaartron.ui.helper;

import android.text.TextUtils;

/**
 * Class description here
 *
 * @author doing
 * @version 1.0.0
 * @since 2017-08-24.
 */

public class TextHelper {

    public static String subDate(String date) {
        if (TextUtils.isEmpty(date)) {
            return date;
        }
        return date.substring(0, date.indexOf(" "));
    }
}
